package common.dto;

import lombok.Data;
import org.tio.core.Node;
import org.tio.core.stat.ChannelStat;

/**
 * 通道流量DTO
 */
@Data
public class ChannelStatDTO {
    String clientToken;
    Node serverNode;
    ChannelStat channelStat;

    public ChannelStatDTO(String clientToken, Node serverNode, ChannelStat channelStat) {
        this.clientToken = clientToken;
        this.serverNode = serverNode;
        this.channelStat = channelStat;
    }
}
